-
Notifications
You must be signed in to change notification settings - Fork 527
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixing wrong local path detection with 'paket install' #773
Conversation
Conflicts: src/Paket.Core/Utils.fs tests/Paket.Tests/UtilsSpecs.fs
It's failing on TravisCI. Is that related? |
it's linux/windows related. I have to adapt some unit tests. |
Ok. The Travis build is fine now. Should I also update the documentation? This is not clearly saying that relative pathes are also allowed. I just tried it out and it worked. |
Yes. Please update the docs.
|
…h are also allowed
From my side everything seems to be okay. |
Cool. Will look at it tomorrow. Thanks a lot.
|
Fixing wrong local path detection with 'paket install'
Assume you have the following setup.
A Nuget source
Externals\NugetStore
(i.e. in your repo a local folder is used for some nuget packages) and you start e.g. yourpaket install
in any subdirectory (e.g. Externals). Paket discovers correctly thepaket.dependencies
file. But it then fails to detect the folder correctly because it tries to combine the relative folder from your start directory (and it tries to look forExternals\Externals\NugetStore
) and not in relative to the location paket.dependencies file.Other paket commands never had any problems with that.